//
//  NearbyShopsModel.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/8/7.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class NearbyShopsModel: NSObject {
    var code = "-999"
    var hasmore = "-999"
    var page_total = "-999"
    var msg = "-999"
    var listModels : [ShopInfoModel]?
    
    init(dic : [String : AnyObject]) {
        super.init()
        
        setValuesForKeys(dic)
        
    }
    
    

    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
        
    }
    
    
    //在swift中想要打印对象要以下重写属性
    override var description: String{
        let keys = ["code","hasmore","page_total","msg"]
        let dic = dictionaryWithValues(forKeys: keys)
        return "\(dic)"
    }

}
